package com.leeon.string;


import static net.mindview.util.Print.print;

public class Replacing {

	static String s = Splitting.knights;
	
	public static void main(String[] args){
		print(s.replaceFirst("f\\w+", "located"));
		print(s);
		print(s.replaceAll("surubbery|tree|herring", "banana"));
	}
	
}
